# == Schema Information
#
# Table name: merchants
#
#  id                   :integer          not null, primary key
#  name                 :string(255)
#  business_info        :text
#  merchant_category    :string(255)
#  website              :string(255)
#  email                :string(255)
#  phone                :string(255)
#  start_time           :integer
#  end_time             :integer
#  shipping             :boolean
#  active               :boolean
#  created_at           :datetime         not null
#  updated_at           :datetime         not null
#  shipping_info        :string(255)
#  terms_and_conditions :string(255)
#  user_id              :integer
#  division_id          :integer
#

class Merchant < ActiveRecord::Base
  belongs_to  :user
  belongs_to  :division 
  has_one     :merchant_info
end
